<?php
namespace app\admin\validate;

use think\Validate;

class Confirm extends Validate
{
    protected $rule = [
        'phone' => 'require|mobile:1[3-9]{1}[0-9]{9}',
    ];
    protected $message = [
        'phone.mobile' => '手机号格式不正确',
    ];
}